package com.blog.constant;

public class MsgConstant {

    public static final String LOGIN_FAILED = "用户名或密码错误";
    public static final String USERNAME_ALREADY_EXISTS = "该用户名已被注册";
    public static final String TOKEN_INVALID = "Token无效或已过期";

    public static final String SUCCESS_MSG = "操作成功";

    //分类区
    public static final String CATEGORY_SELECT_ERROR = "分类查询失败";
    public static final String CATEGORY_ADD_ERROR = "添加分类失败";
    public static final String CATEGORY_NAME_EXISTS = "分类名称已存在";
    public static final String CATEGORY_NO_EXISTS = "分类不存在";
    public static final String CATEGORY_HAS_ARTICLE = "分类中还有文章";
    public static final String CATEGORY_DELETE_ERROR = "分类删除失败";
    public static final String CATEGORY_UPDATE_ERROR = "分类修改失败";

    //文章区
    public static final String ARTICLE_SELECT_ERROR = "文章查询失败";
    public static final String ARTICLE_ADD_ERROR = "文章添加失败";
    public static final String ARTICLE_DELETE_ERROR = "文章删除失败";
    public static final String ARTICLE_UPDATE_ERROR = "文章修改失败";
    public static final String ARTICLE_NO_EXISTS = "文章不存在";

    // 用户区
    public static final String USER_SELECT_ERROR = "用户查询失败";
    public static final String USER_ADD_ERROR = "用户添加失败";
    public static final String USER_DELETE_ERROR = "用户删除失败";
    public static final String USER_UPDATE_ERROR = "用户修改失败";
    public static final String USER_NO_EXISTS = "用户信息不存在";

    // 评论区
    public static final String REVIEW_SELECT_ERROR = "评论查询失败";
    public static final String REVIEW_ADD_ERROR = "评论添加失败";
    public static final String REVIEW_DELETE_ERROR = "评论删除失败";
    public static final String REVIEW_UPDATE_ERROR = "评论修改失败";
    public static final String REVIEW_NO_EXISTS = "评论不存在";

    // 笔记区
    public static final String NOTE_SELECT_ERROR = "查询笔记失败";
    public static final String NOTE_ADD_ERROR = "添加笔记失败";
    public static final String NOTE_DELETE_ERROR = "删除笔记失败";
    public static final String NOTE_UPDATE_ERRPR = "修改笔记失败";
    public static final String NOTE_NO_EXISTS = "笔记不存在";

    // 旅行区
    public static final String TRAVEL_SELECT_ERROR = "旅行图片查询失败";
    public static final String TRAVEL_ADD_ERROR = "旅行图片添加失败";
    public static final String TRAVEL_DELETE_ERRPR = "旅行图片删除失败";
    public static final String TRAVEL_NO_EXISTS = "该旅行图片不存在";
}
